<template>
	<view class="container">
		<!-- 文件管理 -->
		<view class="class-list">
			<button @click="goToUserFileRoleMangePage">用户文件权限管理</button>
		</view>
		<!-- 权限管理 -->
		<view class="user-list">
			<button @click="goToClassFileRoleMangePage">班级文件权限管理</button>
		</view>
	</view>
</template>

<script setup>
	import {
		ref
	} from 'vue';
	import {
		onMounted
	} from 'vue'
	import userApi from '@/api/user.js'

	const goToUserFileRoleMangePage = () => {
		uni.navigateTo({
			url: '/pages/appFile/user-file-role'
		})
	}
	const goToClassFileRoleMangePage = () => {
		uni.navigateTo({
			url: '/pages/appFile/class-file-role'
		})
	}
</script>

<style lang="scss">
	.container {
		padding: 30px;
	}

</style>